<?php /* Smarty version Smarty-3.1.19, created on 2017-11-16 10:17:44
         compiled from "/www/wwwroot/kq.nabaowan.cn/sdk/theme/admin/default/views/public/header.html" */ ?>
<?php /*%%SmartyHeaderCode:15019765755a02b7a8066ca8-77667799%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f8c4f62ebb9d55473d0e3fa10e9742c3ce67c4f0' => 
    array (
      0 => '/www/wwwroot/kq.nabaowan.cn/sdk/theme/admin/default/views/public/header.html',
      1 => 1510798514,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '15019765755a02b7a8066ca8-77667799',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.19',
  'unifunc' => 'content_5a02b7a80966d5_12666334',
  'variables' => 
  array (
    'theme' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5a02b7a80966d5_12666334')) {function content_5a02b7a80966d5_12666334($_smarty_tpl) {?><!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<link href="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">

<link href="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/bootstrap-3.3.7-dist/css/ace.min.css" rel="stylesheet">

<link href="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/bootstrap-3.3.7-dist/css/ace-rtl.min.css" rel="stylesheet">

<link href="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/bootstrap-3.3.7-dist/css/font-awesome.min.css" rel="stylesheet">

<link href="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/style/base.css" rel="stylesheet" type="text/css">

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/jquery.min.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/jquery.fn.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/tooltipbox.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/jquery.form.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/jquery.validate.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/jquery.cookie.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>

<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/bootstrap-3.3.7-dist/js/ace.min.js"></script>
<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/timepicki.js"></script>
<script src="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/js/jquery.validate.js"></script>
<link href="<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/style/timepicki.css" rel="stylesheet" type="text/css">
<title>智慧校园考勤</title>

</head>



<body class="no-skin">

<div id="navbar" class="navbar navbar-default">

  <div class="navbar-container" id="navbar-container">

    <button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler"> <span class="sr-only">Toggle sidebar</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>

    <div class="navbar-header pull-left"> <a href="#" class="navbar-brand" style=""> <small id="logo"> <i class="fa fa-leaf" style="content:url(<?php echo $_smarty_tpl->tpl_vars['theme']->value;?>
/images/logo.png);width:30px; height:30px; vertical-align:middle;"> </i> </small> 智慧校园考勤 </a> </div>

    <ul class="nav navbar-top-links navbar-right">

      <li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i> </a>

        <ul class="dropdown-menu dropdown-user">

          <li><a href="<?php echo siteurl('con=admin/index');?>
"><i class="fa fa-user fa-fw"></i> <?php if ($_SESSION['admin']['type']==1) {?>个人信息<?php } else { ?>学校信息<?php }?></a></li>

          <li class="divider"></li>

          <li><a href="<?php echo siteurl('con=admin/login/logout');?>
"><i class="fa fa-sign-out fa-fw"></i> 退出登录</a></li>

        </ul>

      </li>

    </ul>

  </div>

</div>

<div class="main-container" id="main-container">

  <div id="sidebar" class="sidebar responsive">

    <ul id="nav-list" class="nav nav-list" style="top: 0px;">

      <li class=""><a href="<?php echo siteurl('con=admin/index');?>
"><i class="menu-icon fa fa-list-alt"></i><span class="menu-text"> <?php if ($_SESSION['admin']['type']==1) {?>个人信息<?php } else { ?>学校信息<?php }?> </span></a></li>

<?php if ($_SESSION['admin']['type']==1) {?>

      <li class=""><a href="#" class="dropdown-toggle"><i class="menu-icon glyphicon glyphicon-book"></i><span class="menu-text"> 学校管理 </span><b class="arrow fa fa-angle-down"></b></a>

        <ul class="submenu">

          <li class=""><a href="<?php echo siteurl('con=admin/school');?>
"><i class="menu-icon fa fa-caret-right"></i> 学校列表 </a></li>

          <li class=""><a href="<?php echo siteurl('con=admin/school/edit');?>
"><i class="menu-icon fa fa-caret-right"></i> 新增学校 </a></li>

        </ul>

      </li>

<?php } else { ?>      

      <li class=""><a href="#" class="dropdown-toggle"><i class="menu-icon glyphicon glyphicon-user"></i><span class="menu-text"> 常用功能 </span><b class="arrow fa fa-angle-down"></b></a>

        <ul class="submenu">

          <li class=""><a href="<?php echo siteurl('con=admin/student');?>
"><i class="menu-icon fa fa-caret-right"></i> 学生管理 </a></li>

          <li class=""><a href="<?php echo siteurl('con=admin/classes');?>
"><i class="menu-icon fa fa-caret-right"></i> 班级管理 </a></li>

          <li class=""><a href="<?php echo siteurl('con=admin/teacher');?>
"><i class="menu-icon fa fa-caret-right"></i> 老师管理 </a></li>

          <li class=""><a href="<?php echo siteurl('con=admin/notice');?>
"><i class="menu-icon fa fa-caret-right"></i> 通知公告 </a></li>

        </ul>

      </li>

      <li class=""><a href="#" class="dropdown-toggle"><i class="menu-icon glyphicon glyphicon-user"></i><span class="menu-text"> 设备管理 </span><b class="arrow fa fa-angle-down"></b></a>

        <ul class="submenu">

          <li class=""><a href="<?php echo siteurl('con=admin/device');?>
"><i class="menu-icon fa fa-caret-right"></i> 设备列表 </a></li>

          <li class=""><a href="<?php echo siteurl('con=admin/device/edit');?>
"><i class="menu-icon fa fa-caret-right"></i> 新增设备 </a></li>

        </ul>

      </li>
       <li class=""><a href="#" class="dropdown-toggle"><i class="menu-icon glyphicon glyphicon-book"></i><span class="menu-text"> 出校日期管理 </span><b class="arrow fa fa-angle-down"></b></a>
        <ul class="submenu">
          <li class=""><a href="<?php echo siteurl('con=admin/date');?>
"><i class="menu-icon fa fa-caret-right"></i> 日期列表 </a></li>
          
        </ul>
      </li>
      <li class=""><a href="#" class="dropdown-toggle"><i class="menu-icon glyphicon glyphicon-user"></i><span class="menu-text"> 考勤管理 </span><b class="arrow fa fa-angle-down"></b></a>

        <ul class="submenu">

          <li class=""><a href="<?php echo siteurl('con=admin/shuttle');?>
"><i class="menu-icon fa fa-caret-right"></i> 考勤记录 </a></li>

        </ul>

      </li>

<?php }?>

    </ul>

  </div><?php }} ?>
